.TH ice2slice 1

.SH NAME
ice2slice - The Ice to Slice compiler.

.SH SYNOPSIS
.B ice2slice
.RI [ options ] [ files ]

.SH DESCRIPTION
The ice2slice compiler transforms Slice definitions in .ice files into
Slice definitions in .slice files.

\&.ice files are understood by the Slice compilers provided by Ice, while
\&.slice files are understood by the new Slice compiler developed as part
of IceRPC.

.SH OPTIONS
.TP
.BR \-h ", " \-\-help
Displays the help message.

.TP
.BR \-v ", " \-\-version
Displays the compiler version.

.TP
.BR \-D NAME
Defines the preprocessor symbol
.I NAME.

.TP
.BR \-D NAME = DEF
Defines the preprocessor symbol
.I NAME
with the value
.I DEF.

.TP
.BR \-U NAME
Undefines the preprocessor symbol
.I NAME.

.TP
.BR \-I DIR
Adds the directory
.I DIR
to the search path for
.B #include
directives.

.TP
.BR \-\-output-dir " " DIR
Places the generated files into the directory
.I DIR.

.TP
.BR \-d ", " \-\-debug
Prints debug information showing the operation of the Slice parser.

.TP
.BR \-\-validate
Checks the provided command-line options for correctness and does not
generate any code.

.SH SEE ALSO
.BR slice2cpp (1),
.BR slice2cs (1),
.BR slice2java (1),
.BR slice2js (1),
.BR slice2matlab (1),
.BR slice2php (1),
.BR slice2py (1),
.BR slice2rb (1),
.BR slice2swift (1)
